/*
 *  Copyright 2008 The MITRE Corporation (http://www.mitre.org/). All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */


package org.mitre.lattice.lattice;

/**
 *  The NodeNotFoundException class handles the case when a node cannot be located.
 *. The following code demonstrates the use of
 *  this class: <PRE>
 *  NodeNotFoundException e = new  NodeNotFoundException("Invalid Lattice Structure");
 * throw o;
 * </PRE>
 *
 *@author     Gail Hamilton
 *@created    November 4, 2003
 */

public class  NodeNotFoundException extends LatticeException
{
    /**
     *  Constructor for the OutputManagerException object
     *
     *@param  sMessage  Description of the Parameter
     */
    public  NodeNotFoundException( String sMessage )
    {
        super( sMessage );
        fillInStackTrace();
    }

     /**
     *  Constructor for the OutputManagerException object
     *
     *@param  sMessage  Description of the Parameter
     */
    public  NodeNotFoundException( String sMessage, String addDetail )
    {
        super( sMessage, addDetail );
        fillInStackTrace();
    }

    /**
     *  Constructor for the InvalidLatticeStructureException object
     *
     *@param  e  Description of the Parameter
     */
    public  NodeNotFoundException( Exception e )
    {
        super( e.getMessage() );
        fillInStackTrace();
    }
}
